RadiusTheme\SB\Modules\VariationSwatches\SwatchesFns C

Total Complexity 124
Dependencies 1
Dependents 6
Total lines 699
Lines of code 513
Logical lines of code 265
Comment lines 144
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
generate_variation_attribute_option_html()
C
34 29 77
get_attribute_item_html()
B
33 18 102
render_term_attribute_item()
A
41 15 48
get_variable_items_contents()
A
40 13 52
get_tooltip()
A
43 13 48
render_custom_attribute_item()
A
40 11 58
get_taxonomy_meta_fields()
S
49 2 36
get_wc_attribute_taxonomy()
S
56 3 18
get_valid_product_attribute_type_from_available_types()
S
64 4 10
get_wc_attributes()
S
61 3 11
get_options()
S
68 3 7
get_global_attribute_type()
S
65 3 9
swatches_attribute_first_image()
S
58 2 15
get_available_attributes_types()
S
59 2 14
wc_product_has_attribute_type()
S
73 2 4
get_current_url()
S
74 1 4